home *** CD-ROM | disk | FTP | other *** search
/ Clickx 75 / Clickx 75.iso / software / expressionweb / expressionwebv3 / ExpressionWeb_en.exe / Setup / WeConen.cab / xweb.vtidb.wiz.LIST.HTX.en < prev    next >
Encoding:
Text File  |  2009-06-09  |  3.1 KB  |  126 lines

  1. <%LoginCheck%>
  2.  
  3. <html>
  4.  
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  7. <title><%ListPageTitle%></title>
  8. </head>
  9.  
  10. <body bgcolor="#FFFFFF">
  11.  
  12. <script Language="JavaScript"><!--
  13.     var sAction = "form";
  14.     var NoRecordsChecked = true;
  15.     
  16.     function OnClickBtn( el )
  17.     {        
  18.         if( el.name != "form_list" )
  19.         {
  20.             if( el.value == "<%AddNewValue%>" )
  21.             {
  22.                 document.form_list.target = "detail";
  23.                 document.form_list.action = "<%EditorSubmitASPPage%>";
  24.                 sAction = "btn"
  25.             }
  26.             else if( el.value == "<%DelSelValue%>" )
  27.             {
  28.                 for (i=0;i<document.form_list.elements.length;i++) 
  29.                 {
  30.                        if (document.form_list.elements[i].checked) 
  31.                        {
  32.                           NoRecordsChecked = false;
  33.                     } 
  34.                 }
  35.  
  36.                 if (NoRecordsChecked) 
  37.                 {
  38.                     sAction = "form";
  39.                     alert("<%NoSelRecordsErrorString%>");
  40.                     return;
  41.                 }
  42.  
  43.                 document.form_list.target = "detail";
  44.                 document.form_list.action = "<%DeleteASPPage%>";
  45.                 sAction = "btn"
  46.             }
  47.         }
  48.         else
  49.         {
  50.             if( sAction != "btn" )
  51.             {
  52.                 document.form_list.target = "_self";
  53.                 document.form_list.action = "<%ListASPPage%>";
  54.             }
  55.             
  56.             sAction = "form";
  57.         }
  58.     }
  59. -->    
  60. </script>
  61.  
  62.  
  63. <table width="100%" align=left>
  64.   <tr>
  65.     <td width="50%">
  66.       <b><font size=+3 color="#000080"> Database Editor - <i><%DisplayedTableName%></i></font></b>
  67.     </td>
  68.     <td width="50%" align=right>
  69.       <table>
  70.         <tr>
  71.           <td>
  72.         <%DBEditorNavBar%>
  73.           </td>
  74.         </tr>
  75.       </table>
  76.     </td>
  77.   </tr>
  78. </table>
  79.  
  80. <br clear=all>
  81.  
  82. <form name="form_list" target="_self" action="<%ListASPPage%>" method="POST" OnClick="OnClickBtn(this)">
  83.     <table>    
  84.     <td>
  85.         <p><input name="btnAction" type="submit" value="<%AddNewValue%>" OnClick="OnClickBtn(this)"></p>
  86.     </td>
  87.     <td>
  88.         <p><input name="btnAction" type="submit" value="<%DelSelValue%>" OnClick="OnClickBtn(this)"></p>
  89.     </td>
  90. </table>
  91.  
  92. <hr>
  93.  
  94. <table border="0">
  95.     <thead>
  96.     <tr>
  97.  
  98.     <td></td>
  99.  
  100. <%ListColumnHeaders%>
  101.  
  102.     </tr>
  103.     </thead>
  104.  
  105.     <tbody> 
  106.  
  107.     <!--webbot bot="DatabaseRegionStart" s-columnnames="<%ListColumnNames%>" s-columntypes="<%ListColumnTypes%>" s-dataconnection="<%ConnectionName%>" b-tableformat="TRUE" b-menuformat="FALSE" s-menuchoice s-menuvalue b-tableborder="FALSE" b-tableexpand="FALSE" b-tableheader="TRUE" b-listlabels="TRUE" b-listseparator="TRUE" i-ListFormat="0" b-makeform="TRUE" s-RecordSource="<%RecordSource%>" s-displaycolumns="<%DisplayColumns%>" s-criteria s-order s-sql="<%ListSQLQuery%>" b-procedure="FALSE" clientside SuggestedExt="asp" s-DefaultFields s-NoRecordsFound="No records returned." i-MaxRecords="256" i-GroupSize="5" u-dblib="<%IncPath%>_fpclass/fpdblib.inc" u-dbrgn1="<%IncPath%>_fpclass/fpdbrgn1.inc" u-dbrgn2="<%IncPath%>_fpclass/fpdbrgn2.inc" Tag="TBODY" -->
  108.  
  109.     <tr>
  110.  
  111.     <td><input type="checkbox" name="<%KeyFieldURL%>" value="ON"></td>
  112.  
  113. <%ListResultColumn%>
  114.  
  115.     </tr>
  116.  
  117.     <!--webbot bot="DatabaseRegionEnd" b-tableformat="TRUE" b-menuformat="FALSE" u-dbrgn2="<%IncPath%>_fpclass/fpdbrgn2.inc" i-groupsize="5" clientside Tag="TBODY" -->
  118.  
  119.     </tbody>
  120. </table>
  121.  
  122. </form>
  123.  
  124. </body>
  125.  
  126. </html>